<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class SettingsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        DB::table('settings')->truncate();

        DB::table('settings')->insert([
            'key' => 'transfer_fee',
            'value' => '1',
            'remark' => '转账手续费',
        ]);

        DB::table('settings')->insert([
            'key' => 'per_mint',
            'value' => '1',
            'remark' => '单位算力产币数量',
        ]);

        DB::table('settings')->insert([
            'key' => 'mint_enable',
            'value' => '1',
            'remark' => '挖矿开关 0关 1开',
        ]);
    }
}
